hackerrank special string again problem solution in python

welcome to shbcf.ru